﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMPLib;

namespace MusicPlayer
{
    public class Music:IWMPMedia
    {
        public string name;
        public string  sourceURL;
        public Music()
        {
            name = "未命名";
            sourceURL = "";
        }

       
        public Music(string mName, string mDirectory)
        {
            name = mName;
            sourceURL = mDirectory;
        }
        public override string ToString()
        {
            return name;
        }
    }
}
